package cn.cdnsu.gift;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * 网关启动类
 */
@SpringBootApplication
@EnableDiscoveryClient //作为eureka客户端
@EnableZuulProxy//开启Zuul网关支持
public class ZuulStart {
    public static void main(String[] args) {
        SpringApplication.run(ZuulStart.class,args);
    }
}
